package homework.Sort;

public class Cat extends Catamount {
    public Cat(){

    }
    public Cat(String color,int age,String varieties) {
        super(color, age, varieties);
    }
        public void catchingMice(){
            System.out.println("那只" + this.getAge() + "岁的"+this.getColor()
                    + this.getVarieties() + "在抓老鼠");
        }

}
